package com.sunyard.dal.bo.operator;

import com.sunyard.dal.bo.BaseBO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author jiy.fang
 * @ClassName OperatorUpdatePwdBO
 * @Description description
 * @date 2019/7/17 10:52
 */
@Data
@ApiModel
public class OperatorUpdatePwdBO extends BaseBO {

    private static final long serialVersionUID = -382687762765553293L;

    /**
     * 旧密码
     */
    @ApiModelProperty(value = "旧密码")
    @NotBlank(message = "旧密码不能为空")
    private String oldPwd;

    /**
     * 新密码
     */
    @ApiModelProperty(value = "新密码")
    @NotBlank(message = "新密码不能为空")
    private String newPwd;

    /**
     * 确认密码
     */
    @ApiModelProperty(value = "确认密码")
    @NotBlank(message = "确认密码不能为空")
    private String confirmPwd;
}
